package com.cn.por.auto.dto;

import java.io.Serializable;
import java.util.List;
import com.cn.por.auto.entity.TableDetiles;

/**
 * 初始化数据模型类的入参对象
 * @author wen
 *
 */
public class ModelParam implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 基础包名
	 */
	private String basePackage;
	/**
	 * 表名
	 */
	private String tableName;

	private List<TableConfigDTO> tableConfigDTOS;
	/**
	 * 字段信息
	 */
	private List<TableDetiles> tableColumn;
	/**
	 * 查询条件字段
	 */
	private List<TableDetiles> conditionColumn;
	/**
	 * 主键名称
	 */
	private String primaryKey;
	
	/**
	 * 模板名称
	 */
	protected String ftlName;
	/**
	 * 文件名称
	 */
	protected String fileName;
	/**
	 * 文件路径
	 */
	protected String filePath;
	/**
	 * 后缀名
	 */
	private String suffixName;
	/**
	 * 工厂名称
	 */
	private String factoryName;

	/**
	 * 生成的文件在zip中的路径
	 */
	private String zipDir;


	private String frameworkType;


	/**
	 * 作者名称
	 */
	private String userName;

	/**
	 * 表注释
	 */
	private String tableComment;

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getFrameworkType() {
		return frameworkType;
	}

	public void setFrameworkType(String frameworkType) {
		this.frameworkType = frameworkType;
	}

	/**
	 * 是否去掉表前缀
	 */
	private boolean prefix;

	public boolean isPrefix() {
		return prefix;
	}

	public void setPrefix(boolean prefix) {
		this.prefix = prefix;
	}



	public String getZipDir() {
		return zipDir;
	}

	public void setZipDir(String zipDir) {
		this.zipDir = zipDir;
	}

	public String getFactoryName() {
		return factoryName;
	}
	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}
	public String getFtlName() {
		return ftlName;
	}
	public void setFtlName(String ftlName) {
		this.ftlName = ftlName;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getSuffixName() {
		return suffixName;
	}
	public void setSuffixName(String suffixName) {
		this.suffixName = suffixName;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getBasePackage() {
		return basePackage;
	}
	public void setBasePackage(String basePackage) {
		this.basePackage = basePackage;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public List<TableDetiles> getTableColumn() {
		return tableColumn;
	}
	public void setTableColumn(List<TableDetiles> tableColumn) {
		this.tableColumn = tableColumn;
	}
	public List<TableDetiles> getConditionColumn() {
		return conditionColumn;
	}
	public void setConditionColumn(List<TableDetiles> conditionColumn) {
		this.conditionColumn = conditionColumn;
	}
	public String getPrimaryKey() {
		return primaryKey;
	}
	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public List<TableConfigDTO> getTableConfigDTOS() {
		return tableConfigDTOS;
	}

	public void setTableConfigDTOS(List<TableConfigDTO> tableConfigDTOS) {
		this.tableConfigDTOS = tableConfigDTOS;
	}
}
